package com.huluobo.a2208parkdemo

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.huluobo.base.bean.NewsBeanItem

/**
 *  Created by LC on 2024/12/13.
 */
class MainAdapter : BaseQuickAdapter<NewsBeanItem, BaseViewHolder>(R.layout.item_main) {
    override fun convert(helper: BaseViewHolder, item: NewsBeanItem) {
        helper.setText(R.id.main_news_title, item.newsTitle)
    }
}